package com.safetys.co.idaas;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@PropertySource(value = { "classpath:idaas.properties",
		"classpath:idaas-${spring.profiles.active}.properties" }, ignoreResourceNotFound = true, encoding = "UTF-8")
@ConfigurationProperties(prefix = "spring.idaas")
@Component
@Data
public class IdaasProperties {

	private String serviceURL;
	private String username;
	private String password;
	private String code;
	private String uuid;
}
